name="hello world !"
for each in name:
    if each=='o':
        break
    print(each)